package com.zero.system.mapper;

import com.zero.system.entity.Order;

import java.util.List;
import java.util.Map;


public interface OrderMapper {
    List<Order> queryList(Map<String, Object> paramMap);

    Integer getCount(Map<String, Object> paramMap);

    int add(Order order);

    Order findById(Integer id);

    int delete(List<Integer> ids);

    int update(Order order);

    public List<Order> findAll();

    public List<Order> findByCustomerId(int customerId);

    int updateState(int id,int state);


}
